.class public Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;
.super Landroid/app/Activity;


# instance fields
.field private a:[I

.field private b:I

.field private c:Landroid/util/DisplayMetrics;

.field private d:Landroid/widget/ImageView;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    const/4 v0, 0x5

    new-array v0, v0, [I

    fill-array-data v0, :array_0

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->a:[I

    const/4 v0, 0x0

    iput v0, p0, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->b:I

    return-void

    nop

    :array_0
    .array-data 0x4
        0xfft 0x0t 0x0t 0xfft
        0x0t 0x0t 0x0t 0xfft
        0xfft 0xfft 0xfft 0xfft
        0x0t 0x0t 0xfft 0xfft
        0x0t 0xfft 0xfft 0xfft
    .end array-data
.end method

.method static synthetic a(Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;)I
    .locals 1

    iget v0, p0, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->b:I

    return v0
.end method

.method static synthetic a(Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;I)V
    .locals 0

    iput p1, p0, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->b:I

    return-void
.end method

.method static synthetic b(Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;)[I
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->a:[I

    return-object v0
.end method

.method static synthetic c(Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->d:Landroid/widget/ImageView;

    return-object v0
.end method


# virtual methods
.method public onCreate(Landroid/os/Bundle;)V
    .locals 4

    const/16 v1, 0x400

    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->requestWindowFeature(I)Z

    invoke-virtual {p0}, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0, v1, v1}, Landroid/view/Window;->setFlags(II)V

    invoke-static {p0}, Lcom/estrongs/android/taskmanager/tools/k;->a(Landroid/app/Activity;)Landroid/util/DisplayMetrics;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->c:Landroid/util/DisplayMetrics;

    new-instance v0, Landroid/widget/ImageView;

    invoke-direct {v0, p0}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->d:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->d:Landroid/widget/ImageView;

    new-instance v1, Landroid/view/ViewGroup$LayoutParams;

    iget-object v2, p0, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->c:Landroid/util/DisplayMetrics;

    iget v2, v2, Landroid/util/DisplayMetrics;->widthPixels:I

    iget-object v3, p0, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->c:Landroid/util/DisplayMetrics;

    iget v3, v3, Landroid/util/DisplayMetrics;->heightPixels:I

    invoke-direct {v1, v2, v3}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->d:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->a:[I

    iget v2, p0, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->b:I

    aget v1, v1, v2

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->d:Landroid/widget/ImageView;

    new-instance v1, Lcom/estrongs/android/taskmanager/fs;

    invoke-direct {v1, p0}, Lcom/estrongs/android/taskmanager/fs;-><init>(Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->d:Landroid/widget/ImageView;

    invoke-virtual {p0, v0}, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->setContentView(Landroid/view/View;)V

    return-void
.end method

.method public onCreateOptionsMenu(Landroid/view/Menu;)Z
    .locals 3

    const/4 v2, 0x0

    const/4 v0, 0x2

    const v1, 0x7f07001f

    invoke-virtual {p0, v1}, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->getText(I)Ljava/lang/CharSequence;

    move-result-object v1

    invoke-interface {p1, v2, v0, v2, v1}, Landroid/view/Menu;->add(IIILjava/lang/CharSequence;)Landroid/view/MenuItem;

    move-result-object v0

    const/16 v1, 0x33

    const/16 v2, 0x65

    invoke-interface {v0, v1, v2}, Landroid/view/MenuItem;->setShortcut(CC)Landroid/view/MenuItem;

    move-result-object v0

    const v1, 0x1080038

    invoke-interface {v0, v1}, Landroid/view/MenuItem;->setIcon(I)Landroid/view/MenuItem;

    const/4 v0, 0x1

    return v0
.end method

.method public onOptionsItemSelected(Landroid/view/MenuItem;)Z
    .locals 1

    invoke-interface {p1}, Landroid/view/MenuItem;->getItemId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    const/4 v0, 0x0

    :goto_0
    return v0

    :pswitch_0
    invoke-virtual {p0}, Lcom/estrongs/android/taskmanager/ScreenCheckerActivity;->finish()V

    const/4 v0, 0x1

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x2
        :pswitch_0
    .end packed-switch
.end method
